package com.bwie.system.remote;

import com.bwie.common.domain.User;
import com.bwie.common.domain.request.UserReq;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @className: SystemRemote
 * @Description: TODO
 * @version: v1.８.0
 * @author:
 * @date:
 */
@FeignClient("bwie-system")
public interface SystemRemote {
    @PostMapping("/findByPhoneAndPassword")
    public Result<User> findByPhoneAndPassword(@RequestBody UserReq userReq);
}

